home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / comms_w / wrcmdl13.zip / CRSH.ZIP / WMHANDLR.H < prev    next >
C/C++ Source or Header  |  1994-03-20  |  630b  |  27 lines

  1. /*
  2. WMHANDLR.H
  3. Event (WM_ message) handlers - interface
  4. Dave Maxey and Andrew Schulman - 1991
  5.  
  6. wmhandler_init MUST be called before a window is opened.
  7.  
  8. wmhandler_get returns current handler for an event.
  9.  
  10. wmhandler_set also returns current handler, and then makes
  11. supplied handler current for the message type.
  12. */
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. typedef long (*WMHANDLER)(HWND, unsigned, WORD, LONG);
  18.  
  19. long FAR PASCAL _export WndProc(HWND, WORD, WORD, LONG);
  20. void wmhandler_init(void);
  21. WMHANDLER wmhandler_get(unsigned);
  22. WMHANDLER wmhandler_set(unsigned, WMHANDLER);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26.  
  27.